<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: src/details/httpFile.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_b485ae80868baed16097635ed27c0024.html">details</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">httpFile.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;string&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;mutex&gt;</code><br />
<code>#include &lt;fstream&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d0e/misc_8hpp_source.html">misc.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../da/d7b/debug_8hpp_source.html">debug.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../db/df9/http_file_8hpp_source.html">details/httpFile.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
httpFile.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d33/http_file_8cpp__incl.png" border="0" usemap="#asrc_2details_2http_file_8cpp" alt=""/></div>
<map name="asrc_2details_2http_file_8cpp" id="asrc_2details_2http_file_8cpp">
<area shape="rect" title=" " alt="" coords="657,5,810,32"/>
<area shape="rect" title=" " alt="" coords="664,379,717,405"/>
<area shape="poly" title=" " alt="" coords="730,34,715,71,698,125,684,189,680,256,690,363,684,363,675,256,679,189,693,124,710,69,725,32"/>
<area shape="rect" title=" " alt="" coords="793,453,871,480"/>
<area shape="poly" title=" " alt="" coords="656,22,476,27,368,34,261,47,162,65,82,91,51,106,28,124,13,144,8,167,8,318,11,341,19,357,32,369,48,378,91,390,141,403,196,417,270,428,450,446,635,456,778,461,778,467,635,461,450,451,269,434,195,422,139,408,90,395,46,383,29,373,15,361,6,343,3,319,3,166,8,142,24,121,48,102,80,86,161,60,260,41,368,29,475,22,656,17"/>
<area shape="rect" title=" " alt="" coords="1377,304,1434,331"/>
<area shape="poly" title=" " alt="" coords="763,30,1364,295,1362,300,761,35"/>
<area shape="rect" title=" " alt="" coords="593,80,658,107"/>
<area shape="poly" title=" " alt="" coords="716,35,658,73,655,69,713,30"/>
<area shape="rect" title=" " alt="" coords="763,379,832,405"/>
<area shape="poly" title=" " alt="" coords="766,30,797,50,811,63,822,79,825,93,823,107,813,206,803,304,800,363,795,363,797,304,808,205,817,106,820,93,818,81,807,66,794,54,764,35"/>
<area shape="rect" title=" " alt="" coords="734,80,808,107"/>
<area shape="poly" title=" " alt="" coords="742,31,760,65,755,68,737,34"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html" title=" " alt="" coords="434,155,508,181"/>
<area shape="poly" title=" " alt="" coords="656,23,616,29,573,39,533,56,498,82,488,94,481,109,474,140,469,139,476,107,484,92,494,78,530,52,572,34,615,23,656,18"/>
<area shape="rect" href="../../d5/d3a/url_8hpp.html" title=" " alt="" coords="508,80,569,107"/>
<area shape="poly" title=" " alt="" coords="700,35,584,78,582,73,698,30"/>
<area shape="rect" href="../../da/d7b/debug_8hpp.html" title=" " alt="" coords="1307,80,1389,107"/>
<area shape="poly" title=" " alt="" coords="811,23,1026,44,1288,77,1292,78,1292,83,1288,83,1026,49,810,29"/>
<area shape="rect" href="../../db/df9/http_file_8hpp.html" title=" " alt="" coords="1361,155,1492,181"/>
<area shape="poly" title=" " alt="" coords="811,19,967,26,1152,37,1314,54,1371,65,1403,78,1415,91,1422,107,1429,139,1424,140,1417,109,1410,94,1400,82,1369,70,1313,59,1151,42,967,31,811,25"/>
<area shape="poly" title=" " alt="" coords="478,181,515,249,543,291,578,329,614,354,651,373,649,378,611,359,574,333,539,294,510,252,474,183"/>
<area shape="poly" title=" " alt="" coords="433,173,387,176,332,186,275,204,223,232,178,270,160,291,148,313,141,336,140,358,148,381,163,403,175,411,194,418,254,431,428,448,623,458,778,462,778,467,623,463,428,454,253,436,193,423,172,416,159,407,143,383,135,359,135,335,143,311,156,288,174,267,220,227,273,199,331,181,387,171,433,167"/>
<area shape="rect" title=" " alt="" coords="195,379,266,405"/>
<area shape="poly" title=" " alt="" coords="433,176,375,188,305,212,270,229,237,250,208,275,185,305,181,320,184,336,206,366,202,369,180,338,175,320,180,303,204,271,234,245,267,224,303,207,373,183,432,171"/>
<area shape="rect" title=" " alt="" coords="1965,379,2022,405"/>
<area shape="poly" title=" " alt="" coords="508,167,624,171,794,180,992,198,1194,227,1272,246,1372,277,1472,307,1550,328,1662,349,1774,365,1950,384,1949,389,1773,370,1661,354,1549,333,1470,312,1371,282,1271,252,1193,232,992,203,794,185,624,176,508,173"/>
<area shape="rect" href="../../d8/d68/fs_8hpp.html" title=" " alt="" coords="339,229,397,256"/>
<area shape="poly" title=" " alt="" coords="454,184,400,222,397,218,451,180"/>
<area shape="poly" title=" " alt="" coords="390,254,450,289,526,328,591,355,650,375,649,380,589,360,524,333,448,294,387,259"/>
<area shape="poly" title=" " alt="" coords="339,246,302,249,259,258,218,276,200,289,185,306,170,332,164,356,169,380,185,403,195,411,214,418,272,430,439,447,628,457,778,462,778,467,627,463,439,453,271,435,213,423,193,416,181,407,164,382,159,356,165,330,181,302,196,285,215,272,258,253,301,244,339,241"/>
<area shape="rect" title=" " alt="" coords="376,304,456,331"/>
<area shape="poly" title=" " alt="" coords="379,255,402,290,397,293,374,258"/>
<area shape="rect" title=" " alt="" coords="288,304,352,331"/>
<area shape="poly" title=" " alt="" coords="362,258,339,293,334,290,357,255"/>
<area shape="rect" href="../../de/dfd/tree_8hpp.html" title=" " alt="" coords="195,304,264,331"/>
<area shape="poly" title=" " alt="" coords="345,259,268,299,266,294,343,254"/>
<area shape="poly" title=" " alt="" coords="265,325,277,328,338,340,387,348,435,357,496,376,521,390,546,403,607,422,670,437,778,456,777,461,669,442,606,427,544,408,519,394,494,381,434,363,386,353,337,346,275,333,263,330"/>
<area shape="poly" title=" " alt="" coords="264,326,276,328,403,347,502,355,602,362,730,376,748,379,747,384,729,381,602,367,502,360,402,352,276,333,263,331"/>
<area shape="poly" title=" " alt="" coords="232,331,233,363,227,363,227,331"/>
<area shape="rect" title=" " alt="" coords="290,379,358,405"/>
<area shape="poly" title=" " alt="" coords="247,329,297,367,294,371,244,333"/>
<area shape="rect" title=" " alt="" coords="1319,379,1358,405"/>
<area shape="poly" title=" " alt="" coords="264,326,276,328,373,339,501,350,807,368,1304,387,1304,392,807,373,500,355,372,345,276,333,263,331"/>
<area shape="rect" title=" " alt="" coords="558,379,640,405"/>
<area shape="poly" title=" " alt="" coords="265,325,277,328,408,353,539,376,543,377,542,382,538,381,407,358,275,333,263,330"/>
<area shape="rect" href="../../d6/de9/typetraits_8hpp.html" title=" " alt="" coords="382,379,482,405"/>
<area shape="poly" title=" " alt="" coords="265,328,383,370,381,375,263,333"/>
<area shape="poly" title=" " alt="" coords="483,400,779,453,778,458,482,405"/>
<area shape="poly" title=" " alt="" coords="544,106,570,203,595,267,629,329,645,349,664,367,660,371,641,353,624,332,590,270,565,204,539,108"/>
<area shape="poly" title=" " alt="" coords="529,109,495,145,491,141,525,105"/>
<area shape="rect" title=" " alt="" coords="834,304,880,331"/>
<area shape="poly" title=" " alt="" coords="558,105,828,293,825,297,555,109"/>
<area shape="poly" title=" " alt="" coords="1361,176,1125,196,1004,212,918,232,856,261,799,298,751,337,715,370,712,366,748,333,796,294,854,256,916,227,1003,207,1124,191,1361,171"/>
<area shape="poly" title=" " alt="" coords="1493,167,1654,171,1860,180,2060,198,2142,211,2203,227,2251,244,2293,265,2309,278,2318,293,2320,311,2312,332,2284,367,2254,386,2217,397,2173,408,2091,420,1952,431,1571,449,887,467,886,462,1571,444,1951,426,2090,415,2171,403,2216,392,2251,381,2281,363,2307,329,2314,311,2313,295,2304,281,2290,269,2249,249,2202,232,2141,216,2059,203,1860,186,1654,176,1492,173"/>
<area shape="poly" title=" " alt="" coords="1361,178,1228,194,1068,220,990,237,920,257,863,280,824,306,815,318,808,333,801,364,796,363,803,331,810,316,821,302,861,275,918,252,989,232,1067,214,1227,188,1360,173"/>
<area shape="poly" title=" " alt="" coords="1465,179,1499,198,1514,212,1526,228,1531,242,1526,257,1514,281,1497,302,1456,337,1412,364,1373,381,1371,376,1410,359,1453,333,1493,298,1509,278,1522,255,1525,242,1522,231,1510,215,1496,203,1463,184"/>
<area shape="rect" title=" " alt="" coords="1358,229,1410,256"/>
<area shape="poly" title=" " alt="" coords="1422,183,1401,217,1397,215,1417,181"/>
<area shape="rect" title=" " alt="" coords="1434,229,1512,256"/>
<area shape="poly" title=" " alt="" coords="1437,180,1459,215,1455,218,1433,183"/>
<area shape="rect" href="../../d3/df7/ary__str_8hpp.html" title=" " alt="" coords="1950,304,2036,331"/>
<area shape="poly" title=" " alt="" coords="1401,184,1376,199,1353,217,1342,236,1342,245,1347,254,1359,262,1379,268,1440,279,1614,291,1802,297,1935,302,1935,307,1802,302,1614,297,1439,284,1378,273,1357,266,1343,258,1337,247,1336,235,1349,214,1373,195,1399,180"/>
<area shape="rect" href="../../dd/dce/thread_pool_8hpp.html" title=" " alt="" coords="1731,229,1840,256"/>
<area shape="poly" title=" " alt="" coords="1490,179,1717,225,1716,230,1489,185"/>
<area shape="rect" href="../../dc/d8b/file_svr_itfc_8hpp.html" title=" " alt="" coords="2046,229,2191,256"/>
<area shape="poly" title=" " alt="" coords="1493,174,2031,230,2031,235,1492,179"/>
<area shape="rect" href="../../df/d05/timer_8hpp.html" title=" " alt="" coords="1106,229,1182,256"/>
<area shape="poly" title=" " alt="" coords="1378,184,1197,230,1196,225,1377,179"/>
<area shape="poly" title=" " alt="" coords="1950,331,1938,333,1758,352,1605,360,1470,361,1344,359,1218,356,1084,357,931,364,751,381,733,384,732,379,750,376,930,359,1083,351,1218,351,1344,353,1470,356,1605,355,1757,347,1937,328,1950,326"/>
<area shape="poly" title=" " alt="" coords="1996,331,1996,363,1991,363,1991,331"/>
<area shape="poly" title=" " alt="" coords="1840,244,1909,250,1985,260,2052,277,2078,288,2095,302,2105,319,2107,335,2102,350,2093,365,2066,389,2036,408,2008,417,1965,426,1843,440,1684,450,1504,458,1143,466,886,468,885,463,1143,460,1504,452,1684,445,1842,434,1964,421,2007,412,2034,403,2063,385,2089,361,2097,348,2101,335,2100,320,2091,306,2075,293,2051,282,1984,265,1908,255,1840,249"/>
<area shape="poly" title=" " alt="" coords="1731,257,1450,310,1449,305,1730,252"/>
<area shape="poly" title=" " alt="" coords="1840,245,1904,251,1974,262,2035,279,2058,289,2074,302,2080,312,2081,322,2072,341,2055,358,2034,373,2031,368,2052,354,2068,338,2075,322,2074,314,2070,306,2055,294,2033,284,1973,267,1903,256,1839,250"/>
<area shape="rect" title=" " alt="" coords="1642,304,1699,331"/>
<area shape="poly" title=" " alt="" coords="1767,259,1705,298,1702,293,1764,254"/>
<area shape="rect" title=" " alt="" coords="1561,304,1618,331"/>
<area shape="poly" title=" " alt="" coords="1752,259,1634,302,1632,297,1750,254"/>
<area shape="rect" title=" " alt="" coords="1723,304,1848,331"/>
<area shape="poly" title=" " alt="" coords="1788,257,1788,288,1783,288,1783,257"/>
<area shape="rect" title=" " alt="" coords="1631,379,1692,405"/>
<area shape="poly" title=" " alt="" coords="1840,242,1920,247,2002,260,2034,271,2056,286,2061,296,2063,307,2059,319,2050,333,2026,350,1990,364,1946,374,1896,382,1793,391,1706,393,1706,388,1792,385,1895,377,1945,369,1988,359,2023,345,2046,329,2054,317,2057,307,2056,298,2052,290,2032,276,2001,265,1920,252,1840,247"/>
<area shape="rect" title=" " alt="" coords="1872,304,1926,331"/>
<area shape="poly" title=" " alt="" coords="1807,254,1867,293,1865,298,1804,259"/>
<area shape="poly" title=" " alt="" coords="2192,252,2236,263,2274,279,2288,290,2296,302,2297,316,2290,332,2268,359,2245,377,2221,388,2196,394,2141,400,2074,408,1964,423,1819,436,1471,454,1127,463,886,467,886,462,1127,458,1470,448,1819,431,1964,418,2073,403,2140,394,2195,389,2220,383,2242,372,2264,355,2286,329,2292,315,2291,304,2284,293,2271,284,2234,268,2191,257"/>
<area shape="poly" title=" " alt="" coords="2098,259,2029,298,2027,294,2096,254"/>
<area shape="rect" title=" " alt="" coords="2212,304,2276,331"/>
<area shape="poly" title=" " alt="" coords="2142,254,2211,294,2208,298,2139,259"/>
<area shape="poly" title=" " alt="" coords="1143,257,1130,293,1118,314,1103,333,1052,375,994,409,937,434,887,452,885,447,935,429,992,404,1049,370,1099,329,1114,311,1125,291,1138,255"/>
<area shape="poly" title=" " alt="" coords="1183,252,1362,301,1361,307,1181,257"/>
<area shape="poly" title=" " alt="" coords="1139,258,1112,295,1092,316,1069,333,1013,359,953,376,896,386,847,392,847,386,895,381,952,371,1011,354,1067,328,1089,312,1108,292,1135,255"/>
<area shape="poly" title=" " alt="" coords="1183,251,1258,273,1293,287,1315,302,1332,332,1340,363,1335,364,1327,334,1311,306,1290,292,1257,278,1182,256"/>
<area shape="poly" title=" " alt="" coords="1106,254,1014,275,896,306,895,301,1013,270,1105,249"/>
<area shape="poly" title=" " alt="" coords="1182,248,1546,306,1545,312,1182,253"/>
<area shape="rect" href="../../db/d24/itimer_8hpp.html" title=" " alt="" coords="1181,304,1302,331"/>
<area shape="poly" title=" " alt="" coords="1163,254,1214,293,1211,297,1159,259"/>
<area shape="rect" href="../../de/d6d/singleton_8hpp.html" title=" " alt="" coords="904,304,1056,331"/>
<area shape="poly" title=" " alt="" coords="1117,259,1024,300,1022,295,1114,254"/>
<area shape="poly" title=" " alt="" coords="1181,327,989,348,751,381,733,385,732,379,750,376,988,343,1180,322"/>
<area shape="poly" title=" " alt="" coords="1236,333,1208,370,1188,391,1164,408,1129,424,1093,438,1017,456,946,465,886,469,886,463,945,460,1016,451,1091,433,1127,419,1161,403,1184,387,1204,367,1232,329"/>
<area shape="poly" title=" " alt="" coords="1302,326,1616,380,1615,385,1302,332"/>
<area shape="poly" title=" " alt="" coords="949,334,845,375,843,370,947,329"/>
<area shape="poly" title=" " alt="" coords="907,334,655,381,654,376,906,329"/>
</map>
</div>
</div>
<p><a href="../../d3/de0/http_file_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dd4/structst_params.html">stParams</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:af6b3ef69aa0868252bc8deeefa960558" id="r_af6b3ef69aa0868252bc8deeefa960558"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af6b3ef69aa0868252bc8deeefa960558">curlHttp_write_callback</a> (char *ptr, size_t size, size_t nmemb, void *obj)</td></tr>
<tr class="separator:af6b3ef69aa0868252bc8deeefa960558"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="af6b3ef69aa0868252bc8deeefa960558" name="af6b3ef69aa0868252bc8deeefa960558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6b3ef69aa0868252bc8deeefa960558">&#9670;&#160;</a></span>curlHttp_write_callback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t curlHttp_write_callback </td>
          <td>(</td>
          <td class="paramtype">char *</td>          <td class="paramname"><span class="paramname"><em>ptr</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>size</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>nmemb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>obj</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d3/de0/http_file_8cpp_source.html">httpFile.cpp</a> 第 <a class="el" href="../../d3/de0/http_file_8cpp_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
